class sPBuffer
{
	
public:
	sPBuffer(int width,int height, int bpp, int bpc, int multisample);
	~sPBuffer();

	void Bind();
	void UnBind();

	void SetTexture(Texture *tex,int layer);
	void SetDepthTexture(Texture *tex);

	Texture *GetTexture(int layer);
};